package com.example.mskefu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("chat")
public class Message {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("shopId")
    private String shopId;

    @TableField("fszId")
    private String fszId;

    @TableField("jszId")
    private String jszId;
    private String text;
    @TableField("time")
    private Date time;
    private String url;
}
